package com.example.demo;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling // 开启定时任务功能
@EnableCaching
@RetrofitScan("com.example.demo.api")
public class App {

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
